
ReadME for Replication Files for "Cross-National Support for the Welfare State Under Wealth Inequality"

January 10, 2023

Amalie Sofie Jensen
Copenhagen University
asj@econ.ku.dk

Andreas Wiedemann
Princeton University
awiedemann@princeton.edu


Computing environment
	Operating system: 	macOS Monterey 12.2
	Platform: x86_64-apple-darwin17.0 (64-bit)
	Statistical software: 	R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"


## R packages 
	wCorr_1.9.5
	srvyr_1.1.1
	ggpubr_0.4.0
	DescTools_0.99.45
	binsreg_0.7
	gridExtra_2.3
	lemon_0.4.5
	ggrepel_0.9.1
	ggplot2_3.3.6
	sjPlot_2.8.10    	msm_1.6.9
	lfe_2.8-8
	Matrix_1.4-1
	scales_1.2.0
	data.table_1.14.2 
	dplyr_1.0.10
	effects_4.2-2
	carData_3.0-5
	stargazer_5.2.3
	stringr_1.4.1    	reshape2_1.4.4
	foreign_0.8-82  


### List of files:

Folder hierarchy
	Data (contains all data files)
	Code (contains R script)
	Output (holder for all tables and figures produced by the code; includes the file )
	

### DOCUMENTATION

readme.txt -- This file, which lists all files and compute environment dependencies necessaryto verify the results from this manuscript

codebook.pdf -- combined codebook for all data files


### DATA FILES

cs_survey.RData 	This file contains the original cross-national survey data
cpds_2017.RData		This file contains an extract from the CPDS data
oecd_socx.RData		This file contains an extract from the OECD SOCX data


### CODE

Use the script "01_analysis.R" in the folder "Code" to reproduce all other figures and tables in the main text and appendix. Set your working directory to the "replication_files" folder. The scripts include all relevant packages, including installation commands, to run the code.




